Stinga SG VersionInfo

Previous PageUp PageNext Page

Methods

© 1998 by Stinga.

GetValue

The GetValue method retrieves version info value associated with specified key and name. If block specified with key or value specified with name does not exist, GetValue returns empty string.

Syntax:

GetValue(key As String, name As String) As String

key

Name of the version info block. This value can be one of predefined strings ("VarFileInfo", "StringFileInfo") or name of any user defined version info block.

name

Name of the value inside block named key. There are several predefined value names:

CompanyName FileDescription FileVersion InternalName LegalCopyright OriginalFilename ProductName ProductVersion Comments LegalTrademarks PrivateBuild SpecialBuild

Value names are not restricted to predefined ones. Any modul can have user defined blocks and values.

 

Previous PageUp PageNext Page